package com.yaorange.jk.entity;

import java.io.Serializable;

/**
 * @author coach tam
 * @date 2017/11/4
 */
public class ZtreeVo implements Serializable {

//    id:2, pId:0, name:"随意勾选 2", checked:true, open:true

    private String id;
    private String pId;
    private String name;
    private Boolean checked;
    private Boolean open;

    public ZtreeVo() {
    }

    public ZtreeVo(String id, String pId, String name, Boolean checked, Boolean open) {
        this.id = id;
        this.pId = pId;
        this.name = name;
        this.checked = checked;
        this.open = open;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPId() {
        return pId;
    }

    public void setPId(String pId) {
        this.pId = pId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }
}
